var http = require('http')
var fs = require('fs')
var server = http.createServer((request, response)=>{
  fs.readFile('./test/1.txt', function(err, data){
    response.writeHead('content-type', 'text/plain')
    response.end()
  })
  fs.mkdir('./static')
  queryObj = url.parse(request.url(), true)
  response.write(request.url)
  response.write('hello word')
  response.end()
})

server.listen(3003,'127.0.0.1')